<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<IndyMosaic.Models.Blog.Entry>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Author
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Author</h2>

    <% foreach (var item in Model) { %>
    
        <div>
            <%= Html.ActionLink("Edit", "Edit", new { id=item.ID }) %> 
            <% Html.RenderPartial("EntrySummary", item); %>
        </div>
    
    <% } %>


    <p>
        <% if (Request.IsAuthenticated)
           { %>
        <%= Html.ActionLink("Create New", "Create")%>
        <%} %>
    </p>

</asp:Content>

